package com.example.tao_city.spinnertext;

import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * Created by TAO_CITY on 2018/2/1.
 */

@SuppressLint("AppCompatCustomView")
public class Mytext extends TextView {
    public Mytext(Context context) {
        super(context);
    }

    public Mytext(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public Mytext(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
    public Mytext(Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    public boolean isFocused() {
        return true;
    }
}
